<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/web/case/add.js"></script>	
<form id="caseform" class="form-horizontal" action="${pageContext.request.contextPath}/case/print.shtml" onsubmit="windowOpener('')" method="post" target="surveywin">
	<section class="panel panel-default" style="padding: 10px;">
		<header style="width: 100%;">	
			<h2 align="center">${userSession.company==null||userSession.company==''?'清炙蕴智能诊疗系统':userSession.company}诊疗方案</h2>
			<br>
		</header>
		<div style="width: 100%;text-align: left;height:90%;">
		<table style="width: 100%;font-size: 14px;">
			  <tr style="height: 30px;">
			    <td width="25%">姓名：<input type="hidden" name="caseFormMap.patient_id" value="${casemap.patient.id}"><input name="caseFormMap.patient_name" type="text"  value="${casemap.patient.patient_name}"></td>
			    <td width="25%">性别：<input type="text" name="caseFormMap.patient_sex"  value="${casemap.patient.patient_sex}"></td>
			    <td width="25%">年龄：<input type="text" name="caseFormMap.patient_age"  value="${casemap.patient.patient_age}"></td>
			    <td width="25%">诊号：<input type="text" name="caseFormMap.case_no"  value="${casemap.case_no}"></td>
			  </tr>
			  <tr style="height: 30px;">
			    <td>日期：<input type="text" name="caseFormMap.create_date"  value="${casemap.create_date}"></td>
			    <td colspan="3">地址：<input type="text" style="500px;" name="caseFormMap.patient_address"  value="${casemap.patient.patient_address}"></td>
			  </tr>
			  <tr style="height: 30px;">
			  <td colspan="4">
				<hr style="margin: 0;">
				临床诊断：<input type="text" style="500px;" name="caseFormMap.series_name" value="${casemap.series.name}">
				<hr style="margin: 0;">
			  </td>
			  </tr>
			</table>
			<table style="width: 100%;font-size: 14px;">
				<tr style="height: 30px;">
					<td width="100%">临床表现：<input type="text" style="width: 400px;" name="caseFormMap.symptom" value="${casemap.symptoms}"></td>
				</tr>
				<tr style="height: 30px;">
					<td>辩&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp证：<input type="text" style="400px;" name="caseFormMap.conclusion" value="${casemap.diagnosis.name}"><input type="hidden" name="caseFormMap.type_no" value="${casemap.diagnosis.no}"></td>
				</tr>
				<tr style="height: 30px;">
					<td>治&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp则：<input type="text" style="400px;" name="caseFormMap.cure" value="${casemap.diagnosis.conclusion}"></td>
				</tr>
				<tr style="height: 30px;">
					<td>治疗方案：</td>
				</tr>
				<tr style="height: 30px;">
					<td>
						<textarea rows="10" style="width:100%;" name="caseFormMap.treatment">${casemap.diagnosis.treatment}</textarea>
					</td>
				</tr>
				<tr style="height: 30px;">
					<td>
						<label style="margin-right: 40px;float:right; ">
						医师：<input type="text" name="caseFormMap.doctor_name" value="${casemap.user.userName}"><input type="hidden" name="caseFormMap.doctor_id" value="${casemap.user.id}">
						</label>
					</td>
				</tr>
			</table>
		</div>
		<footer class="panel-footer text-right bg-light lter"> 
		<button type="button" onclick="save();" class="btn btn-success btn-s-xs">保存</button>
		<button type="submit" class="btn btn-success btn-s-xs">打印</button>
		</footer>
	</section>
</form>
